<?php
/**
 * Created by PhpStorm.
 * User: koastal
 * Date: 2016/5/19
 * Time: 14:26
 */
class indexModel extends Model{
    function getUserList(){
        $obj = new Model();
        $sparam = array('id','name');
        $wparam = array("id[<]"=>5,"LIMIT"=>[0,2],'ORDER'=>"name ASC");
        $data = $obj->select("new",$sparam,$wparam);
        return $data;
    }
}